//
//  CHTitleView.h
//  CarFile
//
//  Created by 陈浩 on 2017/4/11.
//  Copyright © 2017年 陈浩. All rights reserved.
//

#import <UIKit/UIKit.h>
@class CHTitleView;
@protocol CHTitleViewDelegate <NSObject>

-(void)didBtnClickWithTag:(NSInteger)tag;

@end

@interface CHTitleView : UIView


@property (nonatomic ,strong) UIColor *bgColor;

@property (nonatomic ,strong)id <CHTitleViewDelegate> delegate;

-(void)titleBtnClick:(UIButton *)btn;



-(instancetype)initWithFrame:(CGRect)frame withTitles:(NSArray *)titles;

@end
